<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--  react核心库  -->
    <script src="lib/react.development.js"></script>
    <!--  reactdom:操作DOM  -->
    <script src="lib/react-dom.development.js"></script>
</head>
<body>
    <!--指定挂载的位置-->
    <div id="root"></div>
</body>
<script>
    // 创建一个React容器
    const root = ReactDOM.createRoot(document.querySelector("#root"));
    // 指定挂载内容
    root.render("我确定你就是那只匹着头皮的狼");
</script>
</html>